/*
 * Copyright (c) 2025 Industrial Software Feature Database
 */
package com.comac.ins.bomt.service;

import com.comac.ins.bomt.domain.*;
import com.comac.ins.bomt.domain.vo.*;
import com.comac.ins.common.core.domain.model.LoginUser;

import java.util.List;
import java.util.Map;

/**
 * Bom核心服务
 *
 * @author zhanghongyi
 * @date 2024 /8/28
 * @description BomConvertService
 */
public interface BomCoreServiceV2 {
    /**
     * 从原始装机清单转化为标准装机清单
     *
     * @param loginUser          the login user
     * @param originalBomVos     the original bom vos
     * @param deleteWords        the delete words
     * @return the map
     */
    Map<String, List<DetailStandardV2BomVo>> convertOriginToStandard(LoginUser loginUser, List<DetailOriginalV2BomVo> originalBomVos, List<String> deleteWords);

    /**
     * 从标准装机清单转化为强度装机清单
     *
     * @param loginUser          the login user
     * @param standardBomDetails the standard bom details
     * @param deleteWords        the delete words
     * @return the list
     */
    List<DetailStrengthV2Bom> convertStandardToStrength(LoginUser loginUser, List<DetailStandardV2Bom> standardBomDetails,List<String> deleteWords,String groupCode);

}
